package com.anoyi.mongo.repository;

import com.anoyi.bean.DouyinUser;
import org.springframework.data.domain.Sort;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface DouyinRepository extends MongoRepository<DouyinUser, String> {

    List<DouyinUser> findAll(Sort sort);

}
